/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package demo910;

/**
 *
 * @author Administrator
 */
public class StudentTest2 {
    public static void changeScore(Student studentB){
        studentB.setScore(96);
    }
  
    public static void main(String args[]){
        Student sa=new Student("123","li",90);
        changeScore(sa);
        System.out.println(sa.getScore());
    }
    
}
